package write;

import java.io.FileWriter;
import java.io.IOException;
import java.util.logging.Logger;

public class Jwrite {

    public static void main(String args[]){
        FileWriter arquivo;
        try{
            arquivo = new FileWriter("C:/Users/Rafael/Desktop/Exerc Java/teste.txt");
             arquivo.write("teste");
                arquivo.close();
        }
        catch(IOException ex) {
//            Logger.getLogger(Main.class.getName()).log(level.severe,null, ex);
        }
        
    }
}
